package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Car;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface ICarService {

	List<Car> selectAll();

	PageResult query(QueryObject qo);

	void saveOrUpdate(Car car);

	void deleteByPrimaryKey(Long id);

	Car selectByPrimaryKey(Long id);

    Car selectCarByBillId(Long id);
    /**
     * @Description: 暂存单时查询该保单的车辆信息
     * @Param: [id] 根据传入的保单id查询当前的车辆信息
     * @return: cn.wolfcode.crm.domain.Car
     */
}
